#include "interval.h"
#include <iomanip>

int main()
{

		interval<double> Tal1(5.5,1.81);
		interval<double> Tal2(6.2,1.81);

		cout << "a+b=" << setprecision(3) << Tal1+Tal2 << endl;
		cout << "a+b=" << setprecision(1) << Tal1-Tal2 << endl;

		(Tal1+Tal2).print_relative();

		

	system("pause");
	return 0;
}